<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../header.jsp" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import ="java.util.*" %>
<%
	HashMap reser = (HashMap)request.getAttribute("reserDetail");
%>


<div style="text-align: center">
		<ul id="admin_tab">
				<li id="admin_tab_1" class=""><a href="<%=path%>/admin/index.jsp"><strong>관리자 메인</strong></a></li>
				<li id="admin_tab_2" class=""><a href="<%=path%>/admin_room.admin"><strong>객실 관리</strong></a></li>
				<li id="admin_tab_3" class="on"><a href="<%=path%>/reservation.admin"><strong>예약 관리</strong></a></li>
		</ul>
</div>

					
<div id="report">
<br>
    <span class="title"><%=reser.get("RV_NAME")%>님의 예약관리</span>
    
<form action="<%=path%>/reser_update.admin" method="post" id="checkForm">    
	<table class="reser_view" cellpadding="0" cellspacing="0" border="0" width="100%" summary="예약관리">
	    <colgroup>
                  <col width="10%">
                  <col width="10%">
                  <col width="10%">
                  <col width="10%">
                  <col width="10%">
                  <col width="10%">
                  <col width="10%">
                  <col width="10%">
        </colgroup>
		<thead>
			<tr>
				<td class="falst">예약일수</td>
				<td>방이름</td>
				<td>예약자</td>
				<td>전화번호</td>
				<td>예약인원</td>
				<td>가격</td>
				<td>결제여부</td>
				<td>수정</td>
			</tr>
		</thead>
		<tbody>

				<tr>
				
					<td class="falst">
					<input type="hidden" name="rv_no" value="<%=reser.get("RV_NO")%>" />
					<input type="hidden" name="rv_rdate" value="<%=reser.get("RV_DATE")%>" />
					<input type="text" name="rv_day" value="<%=reser.get("RV_DAY")%>" /></td>
					<td><input type="text" name="rv_room" value="<%=reser.get("RV_ROOM")%>" /></td>
					<td><input type="text" name="rv_name" value="<%=reser.get("RV_NAME")%>" /></td> <!-- 컨트롤러에 상품번호 값넘기기 -->
<%-- 					<td><a href="<%=path %>/PageView.product?gno=${goods.gno}">${goods.goods_name}</a></td> --%>
					<td><input type="text" name="rv_tel" value="<%=reser.get("RV_TEL")%>" /></td>
					<td><input type="text" name="rv_people" value="<%=reser.get("RV_PEOPLE")%>" /></td>
					<td><input type="text" name="rv_price" value="<%=reser.get("RV_PRICE")%>" /></td>
					<td><input type="text" name="rv_cash" value="<%=reser.get("RV_CASH")%>" /></td>
					<td style="padding: 0 5px"> 
					
					<div class="btn">
					
					<input type="submit" value="수정" />
				
					</div>
					
					</td>
					
				</tr>


			
		</tbody>
	</table>
</form>

	<br><br><br><br>
</div>


<%@include file="../footer.jsp" %>